package com.quan.mall.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.baomidou.mybatisplus.annotation.IdType;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import javax.validation.constraints.NotNull;
import com.quan.commons.core.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 商城-货运公司表
 *
 * @author yhaoquan
 * @email yhaoquan@163.com
 * @date 2021-03-26 13:03:26
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("mall_express_company")
public class MallExpressCompany extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId
    private Long id;

	/**
	 * 货运代号
	 */
    @NotNull(message = "货运代号不能为空")
    private String freightType;

	/**
	 * 货运公司名称
	 */
    @NotNull(message = "货运公司名称不能为空")
    private String freightName;

	/**
	 * 网址
	 */
    @NotNull(message = "网址不能为空")
    private String url;

	/**
	 * 排序
	 */
    @NotNull(message = "排序不能为空")
    private Integer sort;


}
